package com.lsh.payment.api.service.payment;

import com.lsh.payment.api.model.basevo.BaseResponse;
import com.lsh.payment.api.model.payment.PaymentRequest;
import com.lsh.payment.api.model.payment.PaymentTogetherRequest;

/**
 * Project Name: lsh-payment
 *
 * @author peter
 * @date 16/11/8
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public interface IPayRestService {
    /**
     * 支付平台统一下单接口
     * @param paymentRequest   下单对象
     * @return                 BaseResponse 返回值对象
     */
    BaseResponse prePayment(PaymentRequest paymentRequest);

    /**
     * 支付平台统一下单接口
     * @param togetherRequest   下单对象
     * @return                 BaseResponse 返回值对象
     */
    BaseResponse togetherPayment(PaymentTogetherRequest togetherRequest);

    /**
     * 支付平台支付单接口
     * @param paymentRequest   下单对象
     * @return                 BaseResponse 返回值对象
     */
    BaseResponse codePay(PaymentRequest paymentRequest);

}
